package rocky.freemanagementsystemserver.connectors;

import com.tuya.connector.api.annotations.GET;
import com.tuya.connector.api.annotations.Path;
import com.tuya.connector.api.annotations.Query;
import rocky.freemanagementsystemserver.bean.tuya.TuyaAssetResult

interface AssetConnector {
    /**
     * query device info by device_id
     * @param assetId
     * @param pageSize
     * @return
     */
    @GET("/v1.0/iot-02/assets/{asset_id}/devices")
    fun getById(@Path("asset_id") assetId: String, @Query("page_size") pageSize: Integer): TuyaAssetResult;
}
